package com.gxa.eshop.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.oas.annotations.EnableOpenApi;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
//因为正在BaseService中依赖了Mapper<T>,必须用tk.mybatis的MapperScan
@MapperScan(basePackages = "com.gxa.eshop.admin.mapper")
@EnableOpenApi
public class AdminApp {

    public static void main(String[] args) {
        SpringApplication.run(AdminApp.class, args);
    }
}
